It is a jury of your peers. If all your peers hate you, that is a you problem.
The solution often applied is to move to a different venue where the locals do not know the parties involved. In this case that is not helpful, as both parties are known globally.
An alternative solution is to delay trial until the parties are out of the headlines -this one is common in criminal trials: wait until the crime is no longer headline news. Again, I doubt it would help with these two.
But back to the original point... it was their choice to go to court. It is their choice to be commonly disliked. Musk's unlikeable persona is his problem. Altman is better at seeming human. The verdict may hinge upon this.